package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialAuthorizationRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialAuthorizationPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialAuthorizationDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialAuthorizationDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialAuthorizationDomainImpl extends BaseDomainImpl<ContractInitialAuthorizationDto, ContractInitialAuthorizationPo> implements ContractInitialAuthorizationDomain {

    @Resource
    private ContractInitialAuthorizationRepository contractInitialAuthorizationRepository;

    @Override
    public BaseRepository<ContractInitialAuthorizationPo> getMapper() {
        return contractInitialAuthorizationRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialAuthorizationPo>> getRepositoryClass() {
        return ContractInitialAuthorizationRepository.class;
    }

}
